﻿using System;
using System.Security.Cryptography;
using CloudShot.Core.Converters.Json;
using Newtonsoft.Json;

namespace DropboxImageStorage
{
  [Serializable]
  [JsonConverter(typeof(SecureJsonConverter), DataProtectionScope.CurrentUser)]
  public class TokenStorage
  {
    public string Key { get; private set; }
    public string Secret { get; private set; }

    public TokenStorage(string key, string secret)
    {
      Key = key;
      Secret = secret;
    }
  }
}